var isFormSubmitted = false;

function submitForm(method)
{
	suffix = ".html?method=" + method;
	form = document.getElementsByTagName("form")[0];
	if (isFormSubmitted == false)
	{
		isFormSubmitted = true;
		form.action += suffix;
		form.submit();
	}
}
